<?php #coding: utf-8 æ ø å 

/*Skal kaldes med variablene:
$stat_pot_vis
$stat_temp_vis
$level
*/

echo "<h3 class='rubrik'>Stats for level ".$level."</h3>";

?>
<?php

//if(isset($tekst_2))
//{
//	echo "<p class='rubrik'>".$tekst_2.":</p>";
//}		
//	
//		?>
		
<table class="rubrik" style="text-align:center;" >

			<tr>
			<td></td>
			<td width="30px"><p class="rubrik"><b>Temp</b></p></td>
			<td width="30px"><p class="rubrik"><b>Pot</b></p></td>
			<td width="30px"><p class="rubrik"><b>Dif</b></p></td>
			</tr>
			<tr>
			<td  style="height:23px;">Lu</td>
			<td><? if(isset($stat_temp_vis['Lu'])){echo $stat_temp_vis['Lu'];} ?></td>
			<td><? if(isset($stat_pot_vis['Lu'])){echo $stat_pot_vis['Lu'];} ?></td>
			<td><? if(isset($stat_pot_vis['Lu']) && isset($stat_temp_vis['Lu'])){echo $stat_pot_vis['Lu'] - $stat_temp_vis['Lu'];} ?></td>
			</tr>
			<tr>
			<td style="height:23px;">Co</td>
			<td><? if(isset($stat_temp_vis['Co'])){echo $stat_temp_vis['Co'];} ?></td>
			<td><? if(isset($stat_pot_vis['Co'])){echo $stat_pot_vis['Co'];} ?></td>
			<td><? if(isset($stat_pot_vis['Co']) && isset($stat_temp_vis['Co'])){echo $stat_pot_vis['Co'] - $stat_temp_vis['Co'];} ?></td>
			</tr>
			<tr>
			<td style="height:23px;">Ag</td>
			<td><? if(isset($stat_temp_vis['Ag'])){echo $stat_temp_vis['Ag'];} ?></td>
			<td><? if(isset($stat_pot_vis['Ag'])){echo $stat_pot_vis['Ag'];} ?></td>
			<td><? if(isset($stat_pot_vis['Ag']) && isset($stat_temp_vis['Ag'])){echo $stat_pot_vis['Ag'] - $stat_temp_vis['Ag'];} ?></td>
			</tr>
			<tr>
			<td style="height:23px;">Re</td>
			<td><? if(isset($stat_temp_vis['Re'])){echo $stat_temp_vis['Re'];} ?></td>
			<td><? if(isset($stat_pot_vis['Re'])){echo $stat_pot_vis['Re'];} ?></td>
			<td><? if(isset($stat_pot_vis['Re']) && isset($stat_temp_vis['Re'])){echo $stat_pot_vis['Re'] - $stat_temp_vis['Re'];} ?></td>
			</tr>
			<tr>
			<td style="height:23px;">Me</td>
			<td><? if(isset($stat_temp_vis['Me'])){echo $stat_temp_vis['Me'];} ?></td>
			<td><? if(isset($stat_pot_vis['Me'])){echo $stat_pot_vis['Me'];} ?></td>
			<td><? if(isset($stat_pot_vis['Me']) && isset($stat_temp_vis['Me'])){echo $stat_pot_vis['Me'] - $stat_temp_vis['Me'];} ?></td>
			</tr>
			<tr>
			<td style="height:23px;">SD</td>
			<td><? if(isset($stat_temp_vis['SD'])){echo $stat_temp_vis['SD'];} ?></td>
			<td><? if(isset($stat_pot_vis['SD'])){echo $stat_pot_vis['SD'];} ?></td>
			<td><? if(isset($stat_pot_vis['SD']) && isset($stat_temp_vis['SD'])){echo $stat_pot_vis['SD'] - $stat_temp_vis['SD'];} ?></td>
			</tr>
			<tr>
			<td style="height:23px;">St</td>
			<td><? if(isset($stat_temp_vis['St'])){echo $stat_temp_vis['St'];} ?></td>
			<td><? if(isset($stat_pot_vis['St'])){echo $stat_pot_vis['St'];} ?></td>
			<td><? if(isset($stat_pot_vis['St']) && isset($stat_temp_vis['St'])){echo $stat_pot_vis['St'] - $stat_temp_vis['St'];} ?></td>
			</tr>
			<tr>
			<td style="height:23px;">Qu</td>
			<td><? if(isset($stat_temp_vis['Qu'])){echo $stat_temp_vis['Qu'];} ?></td>
			<td><? if(isset($stat_pot_vis['Qu'])){echo $stat_pot_vis['Qu'];} ?></td>
			<td><? if(isset($stat_pot_vis['Qu']) && isset($stat_temp_vis['Qu'])){echo $stat_pot_vis['Qu'] - $stat_temp_vis['Qu'];} ?></td>
			</tr>
			<tr>
			<td style="height:23px;">Pr</td>
			<td><? if(isset($stat_temp_vis['Pr'])){echo $stat_temp_vis['Pr'];} ?></td>
			<td><? if(isset($stat_pot_vis['Pr'])){echo $stat_pot_vis['Pr'];} ?></td>
			<td><? if(isset($stat_pot_vis['Pr']) && isset($stat_temp_vis['Pr'])){echo $stat_pot_vis['Pr'] - $stat_temp_vis['Pr'];} ?></td>
			</tr>
			<tr>
			<td style="height:23px;">Em</td>
			<td><? if(isset($stat_temp_vis['Em'])){echo $stat_temp_vis['Em'];} ?></td>
			<td><? if(isset($stat_pot_vis['Em'])){echo $stat_pot_vis['Em'];} ?></td>
			<td><? if(isset($stat_pot_vis['Em']) && isset($stat_temp_vis['Em'])){echo $stat_pot_vis['Em'] - $stat_temp_vis['Em'];} ?></td>
			</tr>
			<tr>
			<td style="height:23px;">In</td>
			<td><? if(isset($stat_temp_vis['In'])){echo $stat_temp_vis['In'];} ?></td>
			<td><? if(isset($stat_pot_vis['In'])){echo $stat_pot_vis['In'];} ?></td>
			<td><? if(isset($stat_pot_vis['In']) && isset($stat_temp_vis['In'])){echo $stat_pot_vis['In'] - $stat_temp_vis['In'];} ?></td>
			</tr>
		</table>
		<?
	
?>



